﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LuKou.Common.Services;
using LuKou.Common.Domains;
using LuKou.Web.BLL.Extensions;

namespace LuKou.Web.BLL.Service
{
    public class AgentsGradeService
    {
        private static IAgentsGradeSvr _svr;
        static AgentsGradeService()
        {
            _svr = ServiceHelper.Get<IAgentsGradeSvr>("IAgentsGradeSvr");
        }
        //public static PagedList<AgentsGrade> GetAgentsGradeList(int index,int pageSize)
        //{
        //    //if(index<1)index=1;
        //    //if(pageSize<1)pageSize=1;
        //    // _svr.GetAgentsGradeList(null, true, index, pageSize) as ;
        //}

        public static AgentsGrade GetAgentsGradeInfo(long id)
        {
            return _svr.GetAgentsGradeDetail(id, true);
        }
    }
}
